package com.yisa.kuang;

import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * SpringBoot的启动类
 * 这是一个SpringBoot的应用程序
 */
@SpringBootApplication
//@Mapper
@MapperScan("com.yisa.kuang.mapper")
//@ComponentScan(basePackages = {"com.yisa.kuang.mapper","com.yisa.kuang.controller","com.yisa.kuang.service","com.yisa.kuang.pojo"})
public class KuangApplication {

    public static void main(String[] args) {
        SpringApplication.run(KuangApplication.class, args);
    }

}
